CC = gcc
CFLAGS_OSX = -lusb -framework CoreFoundation -framework IOKit -lreadline
CFLAGS_LNX = -lusb -lreadline
CFLAGS_WIN = -lusb

all:
		@echo 'make linux !or! make macosx'
	
macosx:
		$(CC) iRun.c -o iRun $(CFLAGS_OSX)

linux:
		$(CC) iRun.c -o iRun $(CFLAGS_LNX)

windows:
		$(CC) iRun.c -o iRun $(CFLAGS_WIN)